choonster-minecraft-mods / testmod3 Goto Github PK
View Code? Open in Web Editor NEWA Minecraft Forge 1.8 - 1.20.4 mod that I use for testing things
License: Other
A Minecraft Forge 1.8 - 1.20.4 mod that I use for testing things
License: Other
@Tavi007 found in this thread that the CapabilityContainerListener
system doesn't properly update items in the player inventory until they're moved.
This seems to be caused by Forge patching Container#detectAndSendChanges
to only call IContainerListener#sendSlotContents
if a slot's Item
, count or share tag has changed; which often won't be the case for capability-only updates.
This change was actually introduced in August 2017 for 1.12.2 (in MinecraftForge/MinecraftForge#4252), six months after I created my system. I thought it was working more recently than that, but I must not have tested it properly.
I need to see if there's any way around this.
The following, while a bit dirty, gets rid of the warnings about resources from the wrong mod:
public DummyRecipe( final ResourceLocation location )
{
try {
@SuppressWarnings( "rawtypes" )
final Class< IForgeRegistryEntry.Impl > cls = IForgeRegistryEntry.Impl.class;
final Field fld = cls.getDeclaredField( "registryName" );
fld.setAccessible( true );
fld.set( this , location );
} catch ( NoSuchFieldException | SecurityException | IllegalArgumentException | IllegalAccessException e ) {
throw new RuntimeException( "Apparently, LexManos doesn't approve." , e );
}
}
Every class/feature of the mod should be tested in 1.17.1 to ensure that it's working. This may be done over a very long period of time.
Advancement
Biome
Block
Capability
Client
Codec
Command
Config
Crafting
Data Gen
Data Fixer
Entity
Event
Fluid
Item
Inventory
Language/Localisation
Loot Table
Mod Compatibility
Network
Potion
Registry
Remapping
Sound Event
Tag
Testing
Tweak
Utility
World Gen
TestMod3
TestMod3CreativeModeTab
Hey can you give me a link to where i can find the coding for rendering the armor model, for some reason its searching for _layer_1 but is not putting the name of my armor, im really at a loss.
https://gist.github.com/anonymous/59e8d6345d5ab583e5ec9bc6a45f7434
i can not get item variants textures to work
i asked it the forge forum http://www.minecraftforge.net/forum/topic/44703-need-help-w-textures-block-and-item/?page=2 but that did not realy work
The custom potion recipes added in 2036dae aren't recognised by JEI.
The custom potion icon code added in 2036dae renders just over 1 square pixel of the icon (from the top-left corner) stretched to 18x18 pixels.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.