#defined_blocks.json
###for MCEdit 2.0.0 Alpha 1050
This is open invitation for completion and enhancement.
This is an incomplete and imperfect representation of he blocks within the scope of Agrarian Skies 2.
#defined_blocks.json
###for MCEdit 2.0.0 Alpha 1050
This is open invitation for completion and enhancement.
This is an incomplete and imperfect representation of he blocks within the scope of Agrarian Skies 2.
| /** | |
| Forked from | |
| https://gist.github.com/thatfool/8b8f90baaa5f62ed6b9d | |
| NoPillars.cs | |
| NoPillars mod for Cities:Skylines | |
| **/ | |
| using ICities; | |
| using UnityEngine; |
| summon MinecartCommandBlock ~ ~1 ~ {Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:Slime,Size:-2,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:FallingSand,TileID:157,Time:1},Command:setblock ~-1 ~-4 ~-1 133},Command:setblock ~ ~-4 ~-1 133},Command:setblock ~1 ~-4 ~-1 133},Command:setblock ~-1 ~-4 ~ 133},Command:setblock ~ ~-4 ~ 133},Command:setblock ~1 ~-4 ~ 133}},Command:setblock ~-1 ~-4 ~1 133},Command:setblock ~ ~-4 ~1 133},Command:setblock ~1 ~-4 ~1 133},Command:setblock ~ ~-3 ~ 138},Command:setblock ~ ~-1 ~ 10 7 },}} |
| / meow_vec2d - dummy class for lists, angles in radians. | |
| struct cat_vec2d { | |
| double magnitude; //magnitude, ρ rho | |
| double angle; //azimuth, θ theta | |
| //zenith, φ phi | |
| cat_vec2d(double rho = 0.0d, double theta = 0.0d) : magnitude (rho), angle (theta) {} | |
| cat_vec2d(const cat_vec2d &v) : magnitude (v.magnitude), angle (v.angle) {} | |
| ~cat_vec2d(){} |
| // (Press X (or Y)|Try) to Z | |
| std::string game::press_x(action_id act) | |
| { | |
| std::vector<char> keys = keys_bound_to( action_id(act) ); | |
| if (keys.empty()) { | |
| return "Try"; | |
| } else { | |
| std::string keyed="Press "; | |
| for (int j = 0; j < keys.size(); j++) { | |
| if (keys[j] == '\'' || keys[j] == '"'){ |
| CataclysimDDA 0.4 item upgrade. | |
| ([0-9]+) (power_armor_frame|mocassins|jumpsuit|armguard|peacoat|armguard_[^ ]+|tophat|backpack|bandana|blazer|boots|boots_[^ ]+|coat|coat_[^ ]+|dress|flip_flops|glasses|glasses_[^ ]+|gloves_[^ ]+|hat|hat_[^ ]+|heels|helmet|helmet_[^ ]+|hoodie|jacket|jacket_[^ ]+|jeans|kevlar|mask|mask_[^ ]+|mbag|mittens|pants|pants_[^ ]+|poncho|gloves|purse|rucksack|scarf|shorts|shorts_[^ ]+|skirt|sneakers|socks|socks_[^ ]+|suit|sunglasses|sweater|sweatshirt|tank_toptophat|trenchcoat|tshirt|vest|[^ ]+_armor|armor|[^ ]+_shirt|shirt|[^ ]+_shoes|shoes|beltrig|holster|necklace|tank_top|fanny|goggles|goggles_[^ ]+) -1 [\-0-9]+ [0-9]+ | |
| \1 \2 -1 -1 268435456 | |
| ([0-9]+) (power_armor_frame|mocassins|jumpsuit|armguard|peacoat|armguard_[^ ]+|tophat|backpack|bandana|blazer|boots|boots_[^ ]+|coat|coat_[^ ]+|dress|flip_flops|glasses|glasses_[^ ]+|gloves_[^ ]+|hat|hat_[^ ]+|heels|helmet|helmet_[^ ]+|hoodie|jacket|jacket_[^ ]+|jeans|kevlar|mask|mask_[^ ]+|mbag|mittens|pants|pants_[^ ]+|poncho|gloves|purse| |
| //code below could not be tested with worn items since at this time they are not implemented. | |
| void game::unload(char chInput) | |
| { | |
| item it = (u.inv.remove_item_by_letter(chInput)); // this is necessary to prevent re-selection of the same item later | |
| if (!it.is_null()) | |
| { | |
| unload(it); | |
| u.i_add(it, this); | |
| } | |
| else |
| package net.minecraft.src; | |
| import java.awt.image.BufferedImage; | |
| import java.io.IOException; | |
| import java.io.InputStream; | |
| import java.text.Bidi; | |
| import java.util.Arrays; | |
| import java.util.List; | |
| import java.util.Random; | |
| import javax.imageio.ImageIO; | |
| import org.lwjgl.opengl.GL11; |