This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.File; | |
import java.io.FileReader; | |
import java.io.IOException; | |
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.HashMap; | |
import java.util.List; | |
/** | |
* Created by Caden Kriese on 2/21/18. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def _cleanup(obj): | |
if isinstance(obj, Iterable) and sum(1 for e in obj) == 0: | |
return None | |
if isinstance(obj, dict): | |
plugin_dict = {} | |
for (k, v) in obj.items(): | |
if k == "_cls": | |
k = "type" | |
if k.startswith('_'): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//© MineSwine 2019. | |
//Written by Caden Kriese (flogic) | |
public class Vehicle { | |
private World world; | |
private ItemStack[] inventoryContents; | |
private ItemStack[] inventoryArmorContents; | |
private ItemStack weapon; | |
private ArmorStand stand; | |
private VehicleType type; |