방세준
Members-
Posts
17 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
방세준's Achievements
Tree Puncher (2/8)
1
Reputation
-
Why can't I apply the model to the entity when it's code?
방세준 replied to 방세준's topic in Modder Support
yes -
Why can't I apply the model to the entity when it's code?
방세준 replied to 방세준's topic in Modder Support
No matter how much I read and think about it, I don't know. -
Why can't I apply the model to the entity when it's code?
방세준 replied to 방세준's topic in Modder Support
I read it several times, but I couldn't understand it well because the translator was weird. -
Why can't I apply the model to the entity when it's code?
방세준 replied to 방세준's topic in Modder Support
-
Why can't I apply the model to the entity when it's code?
방세준 replied to 방세준's topic in Modder Support
Where should I register? -
Why can't I apply the model to the entity when it's code?
방세준 replied to 방세준's topic in Modder Support
Is there a problem with the RabbitRender file? I'd appreciate it if you could tell me in detail and easily. -
https://github.com/bangsejun/1.15.2- Why can't I apply the model to the entity when it's code?
-
Why isn't the entity applied? Tell me if you need to add or fix anything!
방세준 replied to 방세준's topic in Modder Support
-
Why isn't the entity applied? Tell me if you need to add or fix anything!
방세준 replied to 방세준's topic in Modder Support
-
Why isn't the entity applied? Tell me if you need to add or fix anything!
방세준 replied to 방세준's topic in Modder Support
thanks! -
package com.coldbreath.frost.entities; import com.coldbreath.frost.init.ModEntityTypes; import net.minecraft.entity.AgeableEntity; import net.minecraft.entity.EntityType; import net.minecraft.entity.ILivingEntityData; import net.minecraft.entity.SpawnReason; import net.minecraft.entity.ai.goal.EatGrassGoal; import net.minecraft.entity.passive.AnimalEntity; import net.minecraft.nbt.CompoundNBT; import net.minecraft.util.math.BlockPos; import net.minecraft.world.World; import javax.annotation.Nullable; public class RabbitEntity extends AnimalEntity { private EatGrassGoal eatGrassGoal; private int rabbitTimer; public RabbitEntity(EntityType<? extends AnimalEntity> type, World worldIn) { super(type, worldIn); } @Nullable @Override public AgeableEntity createChild(AgeableEntity ageable) { RabbitEntity entity = new RabbitEntity(ModEntityTypes.RABBIT_ENTITY.get(), this.world); entity.onInitialSpawn(this.world, this.world.getDifficultyForLocation(new BlockPos(entity)), SpawnReason.BREEDING, (ILivingEntityData)null, (CompoundNBT)null); entity.setGlowing(true); return entity; } } code. All entities must have a constructor that takes one net.minecraft.world.World parameter. errorcode There is an error in line 16 RabbitEntity.