
starstorms21
Members-
Content Count
19 -
Joined
-
Last visited
Community Reputation
0 NeutralAbout starstorms21
- Currently Viewing Topic: Naming Conventions 1.10.2 -> 1.12+ [SOLVED]
-
Rank
Tree Puncher
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
starstorms21 started following [1.15.2] How to make connected textures?
-
So i want to make a fancier glass block, where it has connected textures to apear clear. I have a all the variants of the texture i could ever need but im not sure how to go about actualy making the blockstate/model/whatever is needed to actually allow the textures to connect. Any help/tutorials/links would be great!
-
thank you, figured it out!
-
im not quite sure how to modify nbt in 1.15.2 do you maybe have any sources/tutorials i could look at?
-
I want to make a custom item that holds information, for example: A description An int from 1-100 to show the 'completion' of the item (that could change in game) ect In older versions (1.12.2) i would do this with stack nbt, but right now in 1.15.2 i have trouble finding alternatives. Anything i can do?
-
Try overriding OnBlockHarvested in your block class, then do something along the lines of: @Override public void onBlockHarvested(World worldIn, BlockPos pos, BlockState state, PlayerEntity player) { worldIn.setBlockState(pos, Blocks.STONE.getDefaultState()); super.onBlockHarvested(worldIn, pos, state, player); } replace stone with the block you want
-
Fixed the error, completely my mistake! I had set the block to render as invisible in the block class, im dumb. Thanks for your help.
-
My updated code: https://pastebin.com/eBWAryez and https://pastebin.com/3w13ad2u Problem still persists
-
yah ofc i did, i tried them all but its invisible still
-
tried: @Mod.EventBusSubscriber(modid = "jsaga",bus = Mod.EventBusSubscriber.Bus.MOD,value = Dist.CLIENT) @Mod.EventBusSubscriber(modid = "jsaga",bus = Mod.EventBusSubscriber.Bus.MOD) but still invisible block...what a head scratcher
-
i added @Mod.EventBusSubscriber and tested it...still invisible blocks.
-
i thought that would subscribe the class. How do i register my StartupClientOnly class to the Mod event bus?
-
i tried to register it with MinecraftForge.EVENT_BUS.register(StartupMessageManager.class); in main.....but before i did, my plants were just: how would i go about subscribing to the event?
-
oh, ppft, yeah fixed, i was trying to change the RenderType to see if it works and forgot to change it back. Sorry
-
StartupClientOnly: https://pastebin.com/TKgS7Fas full mod class: https://pastebin.com/cEruQDQv the line you pointed out does compile btw, see post2 on my original post for the code