Posted March 7, 20223 yr I want to make a weapon that have custom attack animation so I decide to use BEWLR but it wont work for some reason: the " System.out.println("Show your code");" in class BEWLR wont print Item name ExoSickle Registration: Quote public static RegistryObject<Item> exosickle_item = ITEMS.register("exo_sickle",() -> new ExoSickle(new Item.Properties().tab(TAB))); Item class: Quote public class ExoSickle extends Item { public ExoSickle(Properties p_41383_) { super(p_41383_); } @Override public void initializeClient(Consumer<IItemRenderProperties> consumer) { consumer.accept(new IItemRenderProperties() { @Override public BlockEntityWithoutLevelRenderer getItemStackRenderer() { return new ExoSickleRender(); } }); } } BEWLR? Quote public class ExoSickleRender extends BlockEntityWithoutLevelRenderer { public ExoSickleRender() { super(Minecraft.getInstance().getBlockEntityRenderDispatcher(), Minecraft.getInstance().getEntityModels()); } @Override public void renderByItem(ItemStack stack, ItemTransforms.TransformType transform, PoseStack poseStack, MultiBufferSource buffer, int light, int overlay) { System.out.println("Show your code"); } } Edited March 7, 20223 yr by Cyanki
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.