tutorial:entity
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tutorial:entity [2024/04/30 20:42] – ryhon | tutorial:entity [2025/03/31 13:02] (current) – new Identifier -> Identifier.of slainlight | ||
---|---|---|---|
Line 62: | Line 62: | ||
public static final EntityType< | public static final EntityType< | ||
Registries.ENTITY_TYPE, | Registries.ENTITY_TYPE, | ||
- | | + | Identifier.of(" |
- | | + | |
); | ); | ||
Line 131: | Line 131: | ||
@Override | @Override | ||
public Identifier getTexture(CubeEntity entity) { | public Identifier getTexture(CubeEntity entity) { | ||
- | return | + | return Identifier.of(" |
} | } | ||
} | } | ||
Line 140: | Line 140: | ||
@Environment(EnvType.CLIENT) | @Environment(EnvType.CLIENT) | ||
public class EntityTestingClient implements ClientModInitializer { | public class EntityTestingClient implements ClientModInitializer { | ||
- | public static final EntityModelLayer MODEL_CUBE_LAYER = new EntityModelLayer(new Identifier(" | + | public static final EntityModelLayer MODEL_CUBE_LAYER = new EntityModelLayer(Identifier.of(" |
@Override | @Override | ||
public void onInitializeClient() { | public void onInitializeClient() { |
tutorial/entity.1714509774.txt.gz · Last modified: 2024/04/30 20:42 by ryhon