split client and server 1
This commit is contained in:
parent
26a15a0b15
commit
2fa521c3d1
661 changed files with 3058 additions and 2826 deletions
|
@ -4,8 +4,9 @@ import game.entity.item.EntityFalling;
|
|||
import game.entity.npc.EntityNPC;
|
||||
import game.init.Config;
|
||||
import game.material.Material;
|
||||
import game.renderer.blockmodel.ModelBlock;
|
||||
import game.renderer.particle.ParticleType;
|
||||
import game.model.Model;
|
||||
import game.model.ModelProvider;
|
||||
import game.model.ParticleType;
|
||||
import game.rng.Random;
|
||||
import game.world.BlockPos;
|
||||
import game.world.Facing;
|
||||
|
@ -16,7 +17,7 @@ import game.world.WorldServer;
|
|||
|
||||
public class BlockDragonEgg extends Block
|
||||
{
|
||||
private static final ModelBlock dragon_egg = new ModelBlock("dragon_egg").noOcclude()
|
||||
private static final Model dragon_egg = ModelProvider.getModelProvider().getModel("dragon_egg").noOcclude()
|
||||
.add(6, 15, 6, 10, 16, 10)
|
||||
.d().uv(6, 6, 10, 10).noCull()
|
||||
.u().uv(6, 6, 10, 10).noCull()
|
||||
|
@ -211,7 +212,7 @@ public class BlockDragonEgg extends Block
|
|||
// return null;
|
||||
// }
|
||||
|
||||
public ModelBlock getModel(String name, State state) {
|
||||
public Model getModel(ModelProvider provider, String name, State state) {
|
||||
return dragon_egg;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue