Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

PutoPug

Members
  • Content Count

    50
  • Joined

  • Last visited

Everything posted by PutoPug

  1. @SubscribeEvent public void cancelPlayerRender(RenderPlayerEvent.Pre event){ event.setCanceled(true); } i guess this can cancel the model render, now how do i render a custom model
  2. Actually I Want to make the playermodel into a custom model
  3. I want to change the playermodel to a bat model
  4. Ok, So where do i register it?
  5. I Have A Mod which uses the vanilla leaf textures. The Leaf textures are grey like the grass_block_top.png texture. So i used "elements": [ { "from": [ 0, 0, 0 ], "to": [ 16, 16, 16 ], "faces": { "down": { "uv": [ 0, 0, 16, 16 ], "texture": "#down", "tintindex": 0, "cullface": "down" }, "up": { "uv": [ 0, 0, 16, 16 ], "texture": "#up", "tintindex": 0, "cullface": "up" }, "north": { "uv": [ 0, 0, 16, 16 ], "texture": "#south", "tintindex": 0, "cullface": "north" }, "south": { "uv": [ 0, 0, 16, 16 ], "texture": "#south", "tintindex
  6. Here is the files package com.putopug.combat7.gui; import com.putopug.combat7.Combat7Stuff; import org.lwjgl.opengl.GL11; import net.minecraftforge.items.SlotItemHandler; import net.minecraftforge.items.ItemStackHandler; import net.minecraftforge.items.IItemHandler; import net.minecraftforge.items.CapabilityItemHandler; import net.minecraftforge.fml.network.NetworkEvent; import net.minecraftforge.fml.network.IContainerFactory; import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext; import net.minecraftforge.fml.DeferredWorkQueue; import net.minecraftforge.eventbus.api.Subscri
  7. Lol i forgot ghub credentials, the repo is a few months outdated
  8. package com.putopug.combat7.gui; import com.putopug.combat7.Combat7Stuff; import org.lwjgl.opengl.GL11; import net.minecraftforge.items.SlotItemHandler; import net.minecraftforge.items.ItemStackHandler; import net.minecraftforge.items.IItemHandler; import net.minecraftforge.items.CapabilityItemHandler; import net.minecraftforge.fml.network.NetworkEvent; import net.minecraftforge.fml.network.IContainerFactory; import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext; import net.minecraftforge.fml.DeferredWorkQueue; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.min
  9. package com.putopug.combat7.objects.blocks; import com.putopug.combat7.init.items.itemGroups; import net.minecraft.item.BlockItemUseContext; import net.minecraft.state.DirectionProperty; import net.minecraft.state.StateContainer; import net.minecraft.state.properties.BlockStateProperties; import net.minecraft.util.*; import net.minecraft.util.math.shapes.IBooleanFunction; import net.minecraft.util.math.shapes.ISelectionContext; import net.minecraft.util.math.shapes.VoxelShape; import net.minecraft.util.math.shapes.VoxelShapes; import net.minecraft.world.IWorld; import net.minecraftforge.regis
  10. @samjviana Here @Override public ActionResultType onBlockActivated(BlockState state, World world, BlockPos pos, PlayerEntity entity, Hand hand, BlockRayTraceResult hit) { super.onBlockActivated(state, world, pos, entity, hand, hit); int x = pos.getX(); int y = pos.getY(); int z = pos.getZ(); if (entity instanceof ServerPlayerEntity) { NetworkHooks.openGui((ServerPlayerEntity) entity, new INamedContainerProvider() { @Override
  11. I made a GUI, it worked fine until yesterday but today i get error AL lib: (EE) alc_cleanup: 1 device not closed when i open my GUI. It seems like a sound related issue. Latest.log- [06Mar2021 14:45:55.522] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmluserdevclient, --fml.mcpVersion, 20201102.104115, --fml.mcVersion, 1.16.4, --fml.forgeGroup, net.minecraftforge, --fml.forgeVersion, 35.1.4, --version, MOD_DEV, --assetIndex, 1.16, --assetsDir, C:\Users\Murali\.gradle\caches\forge_gradle\assets, --username, Dev, -
  12. Soo you get what i want [5:38 PM] so have you seen, when people make perimeters they put it on and fly up and down their perimeters and they can see the ores more clearly as they are all blank colors [5:38 PM] and theres no xray involved [5:38 PM] and to make it toggable
  13. This Does Not MAKE Other Blocks Invis, It Makes Diamond Ore Solid Blu So Its Easier To See From A Distance, I Can PM u more details if needed
  14. THIS IS NOT AN XRAY MOD So a client requested me to make a mod which will toggle the texture of ores to a solid color when a key is pressed. i have registered the keybind but have no idea on how to change textures
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.