Skip to content

Instantly share code, notes, and snippets.

Avatar

Adrian van Dongen sirhopcount

View GitHub Profile
View 1.18.2-structures.md

Custom data pack structures in 1.18.2

This guide will showcase how to create a data pack that adds a custom structure to the world. There is also a data pack download of this complete example.

Always leave the world and rejoin to apply the new changes!

⚠️ This guide has moved ⚠️

Updates for both 1.18.2 and 1.19 can be found at https://misode.github.io/guides/adding-custom-structures/

Pack.mcmeta

@sirhopcount
sirhopcount / 1.18.2-custom_structures_with_jigsaws.md
Created Jul 28, 2022 — forked from GentlemanRevvnar/1.18.2-custom_structures_with_jigsaws.md
Simple guide for using jigsaws in custom structures in 1.18.2
View 1.18.2-custom_structures_with_jigsaws.md

Custom data pack structures with jigsaws in 1.18.2

(Last updated: 1.18.2)

This is technically a shameless rip/edit of misode's guide that shows the traditional use of newly implemented custom structure system. I myself want to tackle the jigsaw aspect a bit, hence i'm making my own guice based on his. I will show how to create a data pack that adds custom structures to the world that also utilize jigsaw blocks. So treat this as a basic jigsaw guide in world generation. There is also a data pack download of this first example.

Always leave the world and rejoin to apply the new changes! Because traditional /reload or /datapack disable & enable do not refresh changes in worldgen files!

EXAMPLE 1 - Creating a structure that uses jigsaws

Let's make a simple house with a basement and a road that will lead away from the h

View 135-cluster-api.sh
# Source: https://gist.github.com/d8113b6f149583e1cf1614d76f2a4182
#####################################################################
# How To Create, Provision, And Operate Kubernetes With Cluster API #
# https://youtu.be/8yUDUhZ6ako #
#####################################################################
# Referenced videos:
# - Should We Replace Docker Desktop With Rancher Desktop?: https://youtu.be/bYVfCp9dRTE
View setup_shelley_monitoring.sh
#!/bin/bash
#---------------------------------------------------------------------
# File: setup_shelley_monitoring.sh
# Created: 2019/10/17
# Creator: ilap
#=====================================================================
# DESCRIPTION:
#
# This script downloads and configures the required files
# for monitoring a Shelley node by using grafana/prometheus.
@sirhopcount
sirhopcount / git-ssh-auth-win-setup.md
Created Jan 7, 2019 — forked from bsara/git-ssh-auth-win-setup.md
Setup SSH Authentication for Git Bash on Windows
View git-ssh-auth-win-setup.md

Setup SSH Authentication for Git Bash on Windows

Prepararation

  1. Create a folder at the root of your user home folder (Example: C:/Users/uname/) called .ssh.
  2. Create the following files if they do not already exist (paths begin from the root of your user home folder):
  • .ssh/config
@sirhopcount
sirhopcount / aws_hosts_completion
Created Dec 6, 2018 — forked from lecoueyl/aws_hosts_completion
AWS ec2 instances hostname ssh completion
View aws_hosts_completion
#
# Autocomplete a ssh command with AWS instances hostname
# Put this file in /etc/bash_completion.d/ (Ubuntu)
#
# File containing ec2 instances hostname
HOSTS=/tmp/aws_hosts_list
_ssh_hosts()
{
@sirhopcount
sirhopcount / aws_hosts_completion
Created Dec 4, 2018
AWS ec2 instances hostname ssh completion
View aws_hosts_completion
#
# Autocomplete a ssh command with AWS instances hostname
# Put this file in /etc/bash_completion.d/ (Ubuntu)
#
# File containing ec2 instances hostname
HOSTS=/tmp/aws_hosts_list
_ssh_hosts()
{
View describe-amazon-linux-images.rb
#!/usr/bin/env ruby
require "aws-sdk-core"
require "json"
ami_list = { "AWSAmazonLinuxAMI" => {} }
aws = Aws::EC2::Client.new(:region => 'us-east-1')
aws.describe_regions.regions.each do |region|
#next unless region.region_name == "ap-northeast-1"
@sirhopcount
sirhopcount / aws.zsh
Created Oct 12, 2018 — forked from alexsapran/aws.zsh
AWS CLI bash wrapper dot file
View aws.zsh
_warning(){
echo -e "\e[31m${@}\e[0m"
}
_info(){
echo -e $@
}
_success(){
echo -e "\e[32m${@}\e[0m"
}
@sirhopcount
sirhopcount / asg-ips.sh
Created Oct 8, 2018 — forked from wellsie/asg-ips.sh
Autoscaling group ip addresses
View asg-ips.sh
#!/bin/bash
GROUP=worker
IDS=$(aws autoscaling describe-auto-scaling-groups \
--auto-scaling-group-name $GROUP \
--query AutoScalingGroups[].Instances[].InstanceId \
--output text)
aws ec2 describe-instances \
--instance-ids $IDS \
--query Reservations[].Instances[].PrivateIpAddress \