Luis_ST
Members-
Posts
5704 -
Joined
-
Last visited
-
Days Won
72
Everything posted by Luis_ST
-
Could you please provide a bit more context, like what version you are talking about, what was the usage of the method and what was the return type?
-
Use EntityType#create to create a new instance of your Entity. Then you can modify the Entity in the way you want (e.g change position, set some values, etc.) After that use Level#addFreshEntity to add the Entity to the Level (World). Note: Spawning Entities is a server only operation.
-
Update to the latest version of Forge.
-
I think this feature does no longer exists, but you can just send a Packet back to the client. You can get the ServerPlayer from the given Context, then you should be able to use PacketDistributor#PLAYER.
-
The error should be clear, you forgot a ; after Everything public static final CreativeModeTab Everything= new CreativeModeTab ("Everything") { public ItemStack makeIcon() { return new ItemStack(ItemInit.RUBY.get()); } } <- ; here
-
I keep getting this error when trying to open my game
Luis_ST replied to Etfo's topic in Support & Bug Reports
-
1.18.2 installer failed :"Failed to run processor..."
Luis_ST replied to zalan_albert's topic in Support & Bug Reports
Please post installer log. -
If it's you own Entity you can override #ignoreExplosion in your Entity class and return true.
-
Why do you want to do this? Banning and Unbanning players should be a admin operation and should not modified/controlled by a Mod.
-
One of your Mods is using a file with a invalid name, make sure you use the latest versions of all installed Mods.
-
I keep getting this error when trying to open my game
Luis_ST replied to Etfo's topic in Support & Bug Reports
Why is your server running in Offline Mode? -
The game crashed whilst mouseclicked event handler
Luis_ST replied to Contravixtixs's topic in Support & Bug Reports
Could be an issue with Biomes O' Plenty. -
Game Crashes when anyone types a chat message
Luis_ST replied to Danimator's topic in Support & Bug Reports
At least one of your installed Mods is written for an older version of Minecraft. Make sure you use the latest versions of the Mods you using. Post debug.log from the logs folder for further informations. -
How to turn off the animation when the item is damaged?
Luis_ST replied to Luckydel's topic in Modder Support
Could you please provide a bit more context. Store the Durability in the ItemStack Tag, and get it when you need to restore it. Call ItemStack#getTagElement with your Mod id then put/get the data you want to store/restore. -
The game crashed whilst initializing game
Luis_ST replied to Contravixtixs's topic in Support & Bug Reports
You installed Biomes O' Plenty for 1.19 on 1.19.2. -
The game crashed whilst initializing game
Luis_ST replied to Contravixtixs's topic in Support & Bug Reports
Please post debug.log from the logs folder. -
How to turn off the animation when the item is damaged?
Luis_ST replied to Luckydel's topic in Modder Support
The normal way to damage the Item would be ItemStack#hurtAndBreak. The animation is done via LivingEntity#broadcastBreakEvent which will be called from the Consumer of #hurtAndBreak. stack.hurtAndBreak(1, player, (p) -> { p.broadcastBreakEvent(EquipmentSlot.MAINHAND); // This will send the animation to the client });