Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/10/23 in all areas

  1. How are you rendering them? Also, switching between different subclasses would definitely cause an issue with some of the additional transformations applied.
    1 point
  2. I wanna say you would use something along the lines of: @SubscribeEvent public void onJoin(EntityJoinWorldEvent event) { if (event.getEntity() instanceof Player && !event.getWorld().isClient()) { Player player = (Player) event.getEntity(); player.getInventory().add(new ItemStack(Items.CARROT)); player.sendMessage(Component.nullToEmpty("Hello!")); } } I may be wrong though.
    1 point
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.