And for the general update from 1.15?
I have done:
Changed the mc version in @Mod
Changed 1.15.2 to 1.16.5 latest version in build.gradle
Edited the mod.toml file to require the right minecraft version
anything im missing?
Ah i see, okay, so 1.16.5 then, how would i start the process of updating? Is there any way to quickly changing the mappings to the official names without having to run through my project to rename everything?
Hello there, i started development of my mod a few months ago and have made considerable progress, making it a quite big project, but as 1.15.2 is starting to be outdated in terms of support, i wanted to update my project to 1.16.2
Where should i start? Are there any helpful guides/wiki pages/documentation i should have a look at before i do anything?
I mainly use intellij IDEA to code and I have made a backup of my mod files on github, so im only looking for where to start..
Thanks for any help/advice.
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!
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?
if above doesnt work then switch the super and worldIn#setBlockState, as the super removes the block and then the worldIn#setBlockState places the stone down
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
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