- 
	
		
		[1.14.4] EntityJoinWorldEvent causing game hangs
		
		Trying to replace Vanilla Zombie with custom entity. With code, I am having random game hangs. Only Occasionally so its hard to tell exact problem. Game occasionally hangs at 100% when loading. Other times it hangs when playing. Never crashes, just everything freezes except player, Player can still move around in loaded chucks but cant interact with anything. Any ideas? @SubscribeEvent public void copyZombie(final EntityJoinWorldEvent event) { World world = event.getEntity().world; if (!world.isRemote) { if (event.getEntity() instanceof ZombieEntity) { if (!(event.getEntity() instanceof ZombieCopyEntity)) { ZombieEntity zombie = (ZombieEntity) event.getEntity(); ZombieCopyEntity copy = new ZombieCopyEntity(EntityReg.ZOMBIECOPY, world); copy.setPosition(zombie.getPosition().getX(), zombie.getPosition().getY(), zombie.getPosition().getZ()); event.setCanceled(true); world.addEntity(copy); } } } }
 - 
	
		
		[1.14.4] remove vanilla goals.
		
		I'm trying and failing with this: @SubscribeEvent public void zombieSpawn(EntityJoinWorldEvent event) { if (isRemoveZombieGoal()) { World world = event.getEntity().world; if (!world.isRemote) { if (event.getEntity() instanceof ZombieEntity) { System.out.println("should remove"); ZombieEntity zombie = (ZombieEntity) event.getEntity(); zombie.targetSelector.removeGoal(new NearestAttackableTargetGoal<>(zombie, PlayerEntity.class, true)); zombie.goalSelector.removeGoal(new ZombieAttackGoal(zombie, 1.0D, false)); } } } } What am I doing wrong here. I do get console message.
 - 
	
		
		[1.14.4] How to get Minecraft Horse model/texture to make a custom unicorn?
		
		You need to show your code. CANNOT help if you dont. Show your UnicornEntityModel class first.
 - 
	
		
		[1.14.4] How to get Minecraft Horse model/texture to make a custom unicorn?
		
		There is literally zero reasons for you to be using Tabula or BlockBench to add a horn to a horse. You already have Horsemodel. You already have a texture file for a horse that you can add texture to make the horn. I have a feeling that you are just lost. You should then add a box like I said before to your model class. this.corn.addBox(.....); Then right here is the coordinates of the texture on the png. this.corn = new RendererModel(this, number, number); The 2 numbers tell exactly where the texture is located on png.
 - 
	
		
		[1.14.4] How to get Minecraft Horse model/texture to make a custom unicorn?
		
		You should add box for your entities "corn". Render it in then just copyModelAngles of the head. See vahnilla code for how it copys headwear to head.
 - 
	
		
		[1.14.4] How to get Minecraft Horse model/texture to make a custom unicorn?
		
		Its literally HorseModel.
 - 
	
		
		.setRepairItem not work
		
		In your item class you should have something like... @Override public boolean getIsRepairable(ItemStack toRepair, ItemStack repair) { if (toRepair.getItem().equals("YOUR ITEM") && repair.getItem().equals("WHAT REPAIRS IT")) { return true; } else { return false; } }
 - 
	
		
		[1.14.4] Special block rendering
		
		Not really . TESR only way.
 - 
	
		
		[1.14.4] [UNSOLVED] Server Thread Freezes After Entity Explodes
		
		Maybe because you're removing entity while ticking or something like that. At least that's the error I am see while trying to use livingTick() and making an entity explode. Possibly move the blowUp parts out of livingTick() and put them under tick(). see CreeperEntity.
 - 
	
		
		[1.14-newer] how to keep value when closing minecraft
		
		You are going to need to post code.
 - 
	
		
		[1.14-newer] how to keep value when closing minecraft
		
		Capabilities.
 - 
	
		
		[1.14.4] [UNSOLVED] Server Thread Freezes After Entity Explodes
		
		what is posX, posY, posZ? I'm not very good at "this" but I think you need "this".
 - 
	
		
		Get the mob a player has killed and its custom name (Mutilplayer))
		
		event.getSource().getTrueSource and check if instanceof Player. Post your code if you want more help.
 - 
	
		
		[1.12.2] Preventing block breaking on left click with item
		
		Look under item. I believe you need to override onBlockStartBreak.
 - 
	
		
		[1.14.4] Custom Entity Attack and Animations help.
		
		
 
IPS spam blocked by CleanTalk.
									
    
    
								
								
							Important Information
By using this site, you agree to our Terms of Use.