fix config and extend example
This commit is contained in:
		
							parent
							
								
									74801ef10b
								
							
						
					
					
						commit
						f83d2c220f
					
				@ -13,6 +13,7 @@ import org.apache.logging.log4j.Level;
 | 
				
			|||||||
public class SimpleCreatorModClient implements ClientModInitializer {
 | 
					public class SimpleCreatorModClient implements ClientModInitializer {
 | 
				
			||||||
    @Override
 | 
					    @Override
 | 
				
			||||||
    public void onInitializeClient() {
 | 
					    public void onInitializeClient() {
 | 
				
			||||||
 | 
					        SimpleCreatorMod.log(Level.INFO, "Client init");
 | 
				
			||||||
        for (Pair<Block, String> blockRenderLayerPair : SimpleCreatorMod.BLOCKS_RENDER_LAYER) {
 | 
					        for (Pair<Block, String> blockRenderLayerPair : SimpleCreatorMod.BLOCKS_RENDER_LAYER) {
 | 
				
			||||||
            BlockRenderLayerMap.INSTANCE.putBlock(blockRenderLayerPair.getLeft(), getRenderLayer(blockRenderLayerPair.getRight()));
 | 
					            BlockRenderLayerMap.INSTANCE.putBlock(blockRenderLayerPair.getLeft(), getRenderLayer(blockRenderLayerPair.getRight()));
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
				
			|||||||
@ -1,5 +1,4 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
  "material": "ice",
 | 
					 | 
				
			||||||
  "mapColor": "yellow",
 | 
					  "mapColor": "yellow",
 | 
				
			||||||
  "collidable": true,
 | 
					  "collidable": true,
 | 
				
			||||||
  "soundGroup": "wool",
 | 
					  "soundGroup": "wool",
 | 
				
			||||||
@ -13,5 +12,20 @@
 | 
				
			|||||||
  "slowDownMultiplier": 2.0,
 | 
					  "slowDownMultiplier": 2.0,
 | 
				
			||||||
  "jumpVelocityMultiplier": 2.0,
 | 
					  "jumpVelocityMultiplier": 2.0,
 | 
				
			||||||
  "opaque": true,
 | 
					  "opaque": true,
 | 
				
			||||||
  "itemGroup": "food"
 | 
					  "itemGroup": "minecraft:building_blocks",
 | 
				
			||||||
 | 
					  "allowsSpawning": true,
 | 
				
			||||||
 | 
					  "solidBlock": true,
 | 
				
			||||||
 | 
					  "suffocates": true,
 | 
				
			||||||
 | 
					  "blockVision": true,
 | 
				
			||||||
 | 
					  "postProcess": false,
 | 
				
			||||||
 | 
					  "emissiveLighting": false,
 | 
				
			||||||
 | 
					  "modelOffset": "none",
 | 
				
			||||||
 | 
					  "pistonBehavior": "normal",
 | 
				
			||||||
 | 
					  "instrument": "harp",
 | 
				
			||||||
 | 
					  "burnable": false,
 | 
				
			||||||
 | 
					  "replaceable": false,
 | 
				
			||||||
 | 
					  "noBlockBreakParticles": false,
 | 
				
			||||||
 | 
					  "requiresTool": false,
 | 
				
			||||||
 | 
					  "breaksInstantly": false,
 | 
				
			||||||
 | 
					  "renderLayer": "solid"
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user