SuperCoder79
bfbea641fc
map chunk generators and biome sources ( #1352 )
...
* map chunk generators and biome sources
* map more parameters and functions, and rename noise
* bikeshedding
* Apply suggestions from code review
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
* disambiguate depth noise
* Update mappings/net/minecraft/world/gen/chunk/FlatChunkGenerator.mapping
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-05-14 21:55:51 +01:00
Joseph Burton
21ff19a1b9
20w20b mappings ( #1355 )
2020-05-14 12:34:17 +01:00
modmuss50
ee7f594111
20w20b
2020-05-14 11:14:04 +01:00
i509VCB
e1bce15cca
The WorldAccesses ( #1350 )
2020-05-14 10:30:25 +01:00
Mikhail Oleynikov
38158a35ec
JigsawOrientation mapping ( #1354 )
2020-05-14 10:29:12 +01:00
i509VCB
7df3e4d656
TickableRealmsButton -> TickableElement ( #1349 )
...
This is because it isn't for realms anymore, and Screen implements this
2020-05-13 21:02:22 +01:00
modmuss50
015995dd3f
20w20a
2020-05-13 18:06:00 +01:00
valoeghese
f452d4fec2
Start on chunk generator docs ( #1346 )
...
* start on chunk generator docs
* fix typo
* linkplain
* update chunk generator jdoc.
* comma
2020-05-12 01:17:01 +01:00
Shnupbups
2cf6919014
stuff ( #1334 )
...
yep
2020-05-11 12:50:12 +01:00
Joseph Burton
cb153d1679
Nether biome sampling mappings ( #1347 )
2020-05-11 12:45:15 +01:00
i509VCB
f0b960559c
Some block methods and param names ( #1335 )
...
* Some block methods and param names
* Update mappings/net/minecraft/block/AbstractRailBlock.mapping
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* Update mappings/net/minecraft/world/Difficulty.mapping
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* Update mappings/net/minecraft/block/entity/LockableContainerBlockEntity.mapping
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-05-11 12:44:39 +01:00
i509VCB
b93876d22a
Entity predicates javadoc ( #1345 )
...
* Entity predicates javadoc
* Grammar brainfart
* Update mappings/net/minecraft/predicate/entity/EntityPredicates.mapping
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* VALID_LIVING_ENTITY
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-05-11 12:44:11 +01:00
Prospector
d3323c23bf
Improve Loot Table mappings ( #1338 )
...
* Improve Loot Table mappings
* Fix a couple wrong names
* finish itemDropper -> lootConsumer
* AND -> NOR
2020-05-10 18:48:40 +01:00
Juuxel
5819592fda
TextRenderer.getStringWidth(Text) -> getWidth() ( #1341 )
2020-05-09 23:53:16 +01:00
Yanis48
077ab15730
Music & fixes ( #1339 )
...
* Music & fixes
* musicSound -> music
2020-05-09 17:00:24 +01:00
Juuxel
246edc42ab
Map FallibleItemDispenserBehavior.success accessors ( #1340 )
2020-05-09 16:59:52 +01:00
Yanis48
e72a65b900
Command stuff ( #1330 )
...
* Command stuff
* TeamsgCommand -> TeamMsgCommand
2020-05-07 22:21:09 +01:00
Joseph Burton
1f8c97ed9f
Goal selector related mappings ( #1336 )
...
* Goal selector related mappings
* Update mappings/net/minecraft/entity/ai/goal/GoalSelector.mapping
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-05-07 16:07:12 +01:00
liach
9b001525fa
EntityCategory -> SpawnGroup, SpawnType -> SpawnReason ( #1327 )
...
* EntityCategory -> SpawnGroup, SpawnType -> SpawnReason
Closes #1315
* Fix missed name
Co-authored-by: liach <liach@users.noreply.github.com>
2020-05-06 21:53:25 +01:00
Juuxel
47b6960be2
Screen fixes and drawTexture docs ( #1324 )
...
* Screen fixes and drawTexture docs
* renderDirtBackground -> renderBackgroundTexture
* Add docs
* Remove empty comments
* Clarify renderBackgroundTexture comment
2020-05-06 21:52:31 +01:00
Joseph Burton
7725dcb827
Lots of entity mappings ( #1322 )
...
* Lots of entity mappings
* Apply review suggestions
* Apply more review suggestions
* Tweak drowned and enderman mappings
* Properly rename EndermanEntity.chasing -> provoked
* capChange -> stepTowards
2020-05-06 21:49:35 +01:00
modmuss50
ef74eec9c1
20w19a
2020-05-06 18:28:56 +01:00
Hephaestus-Dev
32d84d6276
Methods and field relating to player disconnecting ( #1331 )
...
* Update ServerPlayerEntity.mapping
* Update ServerPlayerEntity.mapping
2020-05-06 01:43:27 +01:00
Joseph Burton
d31805d0b7
Block Action -> Synced Block Event. Level Event -> Synced World Event ( #1323 )
...
* block action -> synced block event, level event -> synced world event
* Missed a couple, made parameters consistent
2020-05-02 21:29:07 +01:00
liach
001998d876
Spawn mappings ( #1316 )
...
* Spawn mappings
Signed-off-by: liach <liach@users.noreply.github.com>
* Updates some stuff per juuz suggestion
Signed-off-by: liach <liach@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>
2020-05-02 13:31:15 +01:00
liach
2e74ea5a2f
Advancement new stuff and refactor old bad names ( #1310 )
...
* Advancement new stuff and refactor old bad names
Signed-off-by: liach <liach@users.noreply.github.com>
* loader/saver -> deserializer/serializer
Signed-off-by: liach <liach@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>
2020-05-02 13:31:08 +01:00
Yanis48
1f2d9d7e4b
Bring back the parameters ( #1307 )
...
* Bring back the parameters
* better
* isBlock -> matches
* matches -> is / isOf
2020-05-02 13:31:02 +01:00
liach
3dff7b8529
Restore missing BeeDebugRenderer$Bee ( #1314 )
...
Signed-off-by: liach <liach@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>
2020-05-02 00:40:51 +01:00
Sollace
607197f5d9
Rcon ( #1313 )
...
* RconServer -> RconListener (Mojang name)
* Mapped some missing names and params in Rcon
2020-05-01 14:55:34 +01:00
liach
c1df20bd04
item property getter ( #1305 )
...
* item property getter
Signed-off-by: liach <liach@users.noreply.github.com>
* rename this to model predicate provider as it provides values for model predicates
Signed-off-by: liach <liach@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-30 12:20:29 +01:00
i509VCB
1ecd1031fa
Map some blocks, fluids and block entities ( #1309 )
...
* Map some block, fluid and block entities
* Flowing -> Flowable
* oops
* Update mappings/net/minecraft/block/entity/CommandBlockBlockEntity.mapping
Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-04-30 12:20:20 +01:00
liach
e19a774422
Datafixer and random utilities ( #1306 )
...
Signed-off-by: liach <liach@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-30 12:19:56 +01:00
i509VCB
07205b5cbc
Some javadoc and param names in mostly server related classes. ( #1278 )
...
* Some javadoc and param names in mostly server related classes.
* Update mappings/net/minecraft/client/gui/hud/InGameHud.mapping
Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>
* Update mappings/net/minecraft/server/rcon/RconBase.mapping
Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>
* Make javadoc a bit nicer
* fixes 2
* Update ArgumentTypes.mapping
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-04-30 12:19:49 +01:00
liach
2da805da6b
A few stuff around tags ( #1311 )
...
Signed-off-by: liach <liach@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-30 11:32:37 +01:00
liach
104490a2e2
Entity type missing stuff, new server properties ( #1312 )
...
Signed-off-by: liach <liach@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-30 11:32:20 +01:00
Kroppeb
1a923c8bca
Small rename in Advancement$Task. ( #1308 )
...
I saw it and it annoyed me =/.
2020-04-30 00:31:38 +01:00
SuperCoder79
aab2c54e5c
multiplayer enigma boogaloo ( #1298 )
...
* a lot of very random mappings
* fix mappings
* typo
* Update mappings/net/minecraft/client/font/TextRenderer.mapping
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-04-29 20:28:00 +01:00
modmuss50
9a617e4707
20w18a
2020-04-29 17:24:56 +01:00
Kroppeb
8bf2b067a9
Renamed `createBossBar` to the more apropriate `getBossBar` ( #1304 )
2020-04-28 22:58:47 +01:00
Kroppeb
09f2c49653
Fix method name in VoronoiBiomeAccessType ( #1296 )
...
* Fix method name in VoronoiBiomeAccessType
* Changed method name to match similar named functions
2020-04-27 20:33:24 +01:00
Yanis48
8a00a58f58
Attribute command & related stuff ( #1295 )
...
* Attribute command & related stuff
* missed parameters
* updated name
2020-04-26 22:16:16 +01:00
liach
fcd86fa77a
Text mappings ( #1297 )
...
* Text mappings
still a bit more to go
Signed-off-by: liach <liach@users.noreply.github.com>
* Stage
* Broken jd
* I'm pleased
Signed-off-by: liach <liach@users.noreply.github.com>
* Few problems spotted before
Signed-off-by: liach <liach@users.noreply.github.com>
* Moar jd
* call it id overrides
* Update mappings/net/minecraft/text/TextColor.mapping
* Nice fixes
Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>
* Update mappings/net/minecraft/text/MutableText.mapping
Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>
* Update TextHandler.mapping
due to an enigma shortcoming
Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-04-26 01:29:03 +01:00
i509VCB
d4063b9643
Map new GameRule methods and EditGameRulesScreen ( #1299 )
...
* Map new GameRule methods and EditGameRulesScreen
* Update mappings/net/minecraft/client/gui/screen/world/EditGameRulesScreen.mapping
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
* Update mappings/net/minecraft/client/gui/screen/world/EditGameRulesScreen.mapping
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
* confusing names fixed
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-04-24 23:11:41 +01:00
Sollace
294117575e
20w15a Mapping Fixes 2: The Jumping The Shark Update ( #1172 )
...
* Fill in missing names, fix questionable ones
* ForgingScreen -> AbstractForgingScreen
* Revert background -> texture
* Revert background -> texture (2)
* AbstractForgingScreen -> ForgingScreen
* AbstractForgingScreen -> ForgingScreen
2020-04-23 13:37:17 +01:00
modmuss50
659b0da1dd
20w17a
2020-04-22 16:59:47 +01:00
liach
9e75adb26a
Map Structure PalettedBlockInfoList ( #1290 )
...
Signed-off-by: liach <liach@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-19 00:00:25 +01:00
liach
56285a38b7
Map tag tracked entry ( #1289 )
...
Signed-off-by: liach <liach@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-18 20:17:02 +01:00
liach
206a6e5b76
Pick up shnupbup's stuff ( #1288 )
...
* stuff
Removed duplicated mapping
Signed-off-by: liach <liach@users.noreply.github.com>
Map a lot of detail missed by shnupbups
Signed-off-by: liach <liach@users.noreply.github.com>
Few more interesting mappings
Signed-off-by: liach <liach@users.noreply.github.com>
* view -> world
Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>
* Update mappings/net/minecraft/world/gen/feature/RuinedPortalFeaturePiece.mapping
Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>
* Better document these 4 things
Signed-off-by: liach <liach@users.noreply.github.com>
Co-authored-by: Shnupbups <shnupbups@gmail.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-18 20:16:55 +01:00
liach
7180726b1f
Fix javadoc warnings ( #1286 )
...
Signed-off-by: liach <liach@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-18 14:55:18 +01:00
liach
6455e15fcb
Map two inner classes ( #1284 )
...
* Map two inner classes
Signed-off-by: liach <liach@users.noreply.github.com>
* Rename angle randomizer fields to have more informative names
Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-18 14:55:08 +01:00
liach
b13c848a9a
20w16a jmx ( #1281 )
...
* 20w16a jmx
Signed-off-by: liach <liach@users.noreply.github.com>
* Rename bad stuff and add javadocs
Signed-off-by: liach <liach@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-16 23:20:40 +01:00
liach
aae7c8179f
Map the new serverbound jigsaw generating packet ( #1283 )
...
This is jigsaw generate things not things generate jigsaw
Signed-off-by: liach <liach@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-16 02:55:11 +01:00
Sollace
67a8a36b13
Misc Strider mappings ( #1273 )
...
* Misc strider mappings
* Fix conflic (Mountable was already mapped as "Saddle-able")
2020-04-16 02:47:24 +01:00
modmuss50
863b0e905c
20w16a
2020-04-15 16:34:32 +01:00
Joseph Burton
bff0236300
World modification fix ( #1232 )
...
* World modification fix
* isWorldModificationRestricted -> isBlockBreakingRestricted
2020-04-14 15:01:34 +01:00
Yanis48
4a8babd645
Some entity stuff ( #1277 )
...
* entity things
* message methods
2020-04-14 15:01:24 +01:00
Shnupbups
558487a1c0
i mapped things: HD remaster ( #1271 )
...
* some stuff HD remaster
* Update mappings/net/minecraft/world/biome/BasaltDeltaBiome.mapping
Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>
* Delta -> Deltas
* Apply suggestions from code review
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
* Update mappings/net/minecraft/world/gen/feature/DeltaFeatureConfig.mapping
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-04-14 15:01:16 +01:00
Juuxel
5d0a3114ba
AbstractBlock.Settings.dropTableId -> lootTableId ( #1276 )
2020-04-09 18:38:37 +01:00
Prospector
53df6519d5
getDropTableID -> getLootTableId ( #1274 )
...
* getDropTableID -> getDropTableId
* Update AbstractBlock.mapping
* dropTableId -> lootTableId
2020-04-09 13:22:03 +01:00
liach
159546e8cd
Map some 20w15a new classes (entities, enchantments) ( #1269 )
...
* Map some 20w15a new classes (entities, enchantments)
Signed-off-by: liach <liach@users.noreply.github.com>
* Some javadocs
* Just refer by id
Signed-off-by: liach <liach@users.noreply.github.com>
* Fix bad class name
Signed-off-by: liach <liach@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-08 21:48:41 +01:00
modmuss50
cf0ef0a6bd
20w15a
2020-04-08 15:44:19 +01:00
Yanis48
19270ae02a
Random fixes ( #1265 )
...
* bug fixes
* Update BlockEntity.mapping
* abcd -> xyzw
* closes #856
2020-04-07 00:29:55 +01:00
liach
b4efaeadd2
trunk placer and tree generation mappings ( #1261 )
...
Signed-off-by: liach <liach@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-05 15:53:26 +01:00
liach
8a6cdb8699
Rename attribute factory methods to be unique ( #1263 )
...
I hate unqualified static method/field calls and static inference!
Signed-off-by: liach <liach@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-05 12:19:15 +01:00
liach
032ee0894b
Region and session lock ( #1254 )
...
* Region and session lock
Signed-off-by: liach <liach@users.noreply.github.com>
* Update mappings/net/minecraft/world/gen/StructureAccessor.mapping
Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>
Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-04-04 21:19:01 +01:00
liach
cabb00e658
20w14a Attributes ( #1256 )
...
* 20w14a Attributes
Signed-off-by: liach <liach@users.noreply.github.com>
* Map the attributes method for zoglin
Signed-off-by: liach <liach@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-04 21:18:55 +01:00
Juuxel
3d277f0082
Use serialized names for Biome.MixedNoisePoint fields ( #1247 )
2020-04-03 20:17:51 +01:00
liach
e0b168b919
Tags ( #1250 )
...
Signed-off-by: liach <liach@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-03 20:14:29 +01:00
Yanis48
4bf04724a5
Level file mappings ( #1253 )
...
* level file mappings
* synchronous -> dsync, revert enigma update
2020-04-03 20:12:27 +01:00
Shnupbups
5ef7ccfb9b
some 14a stuff ( #1251 )
...
* some 14a stuff
* Apply suggestions from code review
Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-04-03 20:11:08 +01:00
liach
0a9fd73fa4
20w14a dfu ( #1252 )
...
Signed-off-by: liach <liach@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-03 03:30:47 +01:00
modmuss50
0c14fa6444
20w14a
2020-04-02 18:40:17 +01:00
liach
c785526e75
block bad names and glstatemanager bad stuff, rotation3 -> affine transformation ( #1244 )
...
* block bad names and glstatemanager bad stuff, rotation3 -> affine transformation
close #1224 , close #1233 , close #1234 , close #1241
* Update mappings/com/mojang/blaze3d/platform/GlStateManager.mapping
Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>
Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-04-01 17:32:46 +01:00
Yanis48
d154cce219
block entity mappings ( #1237 )
2020-04-01 02:02:51 +01:00
Prospector
18c62920fc
Fix two more errors with Criterions instead of Criteria ( #1243 )
2020-03-31 01:35:21 +01:00
i509VCB
4b817e7c68
2 Rename fixes ( #1242 )
2020-03-30 18:35:14 +01:00
Shnupbups
8cd54e4886
stuff ( #1231 )
...
* stuff
less cursed this time hopefully
* Apply suggestions from code review
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
* Update ItemSteerable.mapping
* Update HungerManager.mapping
* revert Quaternion changes
* supplier -> table
* Update CrashReport.mapping
* Apply suggestions from code review
Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>
* Update WorldBorderListener.mapping
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-03-30 09:10:03 +00:00
Azteched
6199cacacd
Fixed Item spelling in register method ( #1238 )
2020-03-29 18:05:36 +01:00
Sollace
99ba24aaaf
Remap inventories :D ( #1154 )
...
* Remap inventories :D
* @see -> see @link
* getMaxStackAmount -> getMaxCountPerStack
Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>
* Rename InventoryChangedListener.mapping to InventoryChangeCallback.mapping
* putStack -> setStack
* JD fixes
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
* Fix filename
* isAccessible -> canStayOpen
* isAccessible -> canStayOpen
* Update javadoc
* jd for getMaxCountPerStack
Return value jd taken from #1053 (with fixes)
* Update mappings/net/minecraft/inventory/SidedInventory.mapping
Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>
* canStayOpen -> canPlayerUse
* canStayOpen -> canPlayerUse
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-03-27 18:04:46 +00:00
liach
80aa993105
Move direction transformation and matrix3f to util math (need same package) ( #1235 )
...
move two matrices to non-client;
move two transformations to util math;
move globalpos to dynamic;
move propagator to world;
a few other util additions
Signed-off-by: liach <liach@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-27 15:08:10 +00:00
Sollace
3d228282e6
Renderer mappings ( #988 )
...
* part.render(matrix, vertices, light, overlay, red, green, blue, alpha)
* Fixed bad names
* Determined by the call to part.render(matrix, vertices, light, overlay)
which delegates to part.render(matrix, vertices, light, overlay, 1, 1, 1, 1)
* Now we extrapolate to everything that calls part.render(matrix, vertices, light, overlay)
Meanhile VertexConsumerProvider is
* Now we extrapolate to everything that cals pars.render(matrix, vertices, light, overlay, red, green, blue, alpha)
* This is not a render method! It sets the yaw and pitch on the skull
* Now we extrapolate to things that call mode.render(matrix, vertices, light, overlay, red, green, blue, alpha)
Not much to change there though
* These are known from EntityRenderDispatcher
* render calls renderLabelIfPresent
* Now we're looking at things which call EntityRenderDispatcher.render(entity, x, y, z, yaw, matrix, provider, light)
* In ClientPlayNetworkHandler.onItemPickupAnimation the second entity is gotten from packet.getCollectorEntityId and defaulted to the player if null. The first entity is an item entity or an experience orb entity
* Going back to EntityRenderDispatcher, we can see the code for rendering shadows was moved here from the renderer itself
if (this.gameOptions.entityShadows && this.renderShadows && entityRenderer14.shadowRadius > 0.0f && !entity.isInvisible()) {
double double22 = this.getSquaredDistanceToCamera(entity.getX(), entity.getY(), entity.getZ());
float float24 = (float)((1.0 - double22 / 256.0) * entityRenderer14.field_4672);
if (float24 > 0.0f) {
renderShadow(matrix, provider, entity, float24, tickDelta, this.world, entityRenderer14.shadowRadius);
}
}
* The last parameter is shadow radius, but to be sure we check, nd indeed it is reduced when the rendered entity is a baby
private static void renderShadow(MatrixStack matrix, VertexConsumerProvider provider, Entity entity, float float4, float tickDelta, WorldView world, float radius) {
float float8 = radius;
if (entity instanceof MobEntity) {
if (((MobEntity)entity).isBaby()) {
float8 *= 0.5f;
}
}
* float4 was a myster, but it's just passed down as-is and used to determine the opacity of the shadow!
float float16 = (float)((opacity - (y - pos.getY()) / 2.0) * 0.5 * world.getBrightness(pos));
if (float16 >= 0.0f) {
* Forgot this one
* This is all low-hanging fruit.
* EntityRenderDispatcher.shouldRender(entity, frustrum, x, y, z)
-> EntityRenderer.isVisible(entity, frustrum, x, y, z)
-> Entity.shouldRenderFrom(x, y, z)
@Environment(EnvType.CLIENT)
public boolean shouldRenderFrom(double x, double y, double z) {
double double8 = this.getX() - x;
double double10 = this.getY() - y;
double double12 = this.getZ() - z;
double double14 = double8 * double8 + double10 * double10 + double12 * double12;
return this.shouldRenderAtDistance(double14);
}
* More things we know
* This is set by calling entity.getLeaningPitch
* This is only overriden by CreeperEntityRenderer and returns a float computed from the fuse time.
The value is then passed to getOverlay where it's passed to OverlayTexture.getU(animationCounter).
This causes the creeper to flash white when active. The same method,
interestingly, will use the V to create the hurt/death overlay
OverlayTexture.packUv(
OverlayTexture.getU(animationCounter),
OverlayTexture.getV(entity.hurtTime > 0 || entity.deathTime > 0)
)
* The final patches
* xrayEnabled -> isGlowing
* Commit suggestions/name changes I missed during rebase
Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>
* Fix typos
* yaw -> tickDelta
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
* provider -> vertexConsumers
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
* matrix -> matrices
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
* Fixed some encorrect names
* entry -> matrices
* textureU/V -> u/v
* isBanner -> isBannerBlock
* frustrum -> frustum
Co-Authored-By: Gegy <gegy1000@gmail.com>
* Fix broken/changed mappings for 20w10a
* grammar
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
* Update mappings/net/minecraft/client/particle/ItemPickupParticle.mapping
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Gegy <gegy1000@gmail.com>
2020-03-27 11:06:32 +00:00
liach
ab49bb2e7b
Jigsaw and rotation/rule test stuff ( #1227 )
...
Signed-off-by: liach <liach@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-26 14:10:31 +00:00
Yanis48
f3692142b6
Strider entity mappings ( #1225 )
...
* strider entity mappings
* some additions
* changes
* changes
* Update ItemSteerable.mapping
* class_4988
2020-03-26 14:09:47 +00:00
modmuss50
421fd43218
20w13b
2020-03-26 14:08:27 +00:00
liach
0c84d443c2
Map two missing inner classes ( #1228 )
...
Signed-off-by: liach <liach@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-26 11:32:00 +00:00
i509VCB
7b32b5f874
Javadoc for some client, datafixer and other miscellaneous areas. ( #1219 )
...
* Javadoc for some client, datafixer and misc.
* Update ServerPlayNetworkHandler.mapping
* Update MinecraftClient.mapping
* Update ClientPlayerEntity.mapping
* Update PlayerListEntry.mapping
* Update TypeReferences.mapping
* Update Entity.mapping
* Update LivingEntity.mapping
* Update NbtHelper.mapping
* Update CommandOutput.mapping
* Update mappings/net/minecraft/client/MinecraftClient.mapping
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
* Update mappings/net/minecraft/command/arguments/TestClassArgumentType.mapping
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
* Update mappings/net/minecraft/datafixer/TypeReferences.mapping
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
* Update mappings/net/minecraft/datafixer/TypeReferences.mapping
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
* Update mappings/net/minecraft/server/command/CommandOutput.mapping
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
* Update mappings/net/minecraft/command/arguments/ArgumentTypes.mapping
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
* Update mappings/net/minecraft/datafixer/TypeReferences.mapping
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
* Update mappings/net/minecraft/nbt/NbtHelper.mapping
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
* Update PlayerListEntry.mapping
* Update ClientPlayPacketListener.mapping
* Update ServerPlayPacketListener.mapping
* Update ClientPlayPacketListener.mapping
* Fix possible build error
* try 2
* Update LivingEntity.mapping
* Update mappings/net/minecraft/datafixer/TypeReferences.mapping
Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>
* Update mappings/net/minecraft/entity/Entity.mapping
Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>
* Update mappings/net/minecraft/nbt/NbtHelper.mapping
Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>
* Update mappings/net/minecraft/nbt/NbtHelper.mapping
Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-03-25 23:14:55 +00:00
liach
d93a2d54d5
Map two new farmer tasks ( #1229 )
...
Signed-off-by: liach <liach@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-25 23:14:46 +00:00
liach
486d832be5
Minor dfu stuff ( #1226 )
...
* Minor dfu stuff
Signed-off-by: liach <liach@users.noreply.github.com>
* Missed this
Signed-off-by: liach <liach@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-25 21:50:41 +00:00
Yanis48
dcf8bb0e96
Some block mappings ( #1223 )
...
* Some block mappings
* Update mappings/net/minecraft/block/Blocks.mapping
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
* Update Blocks.mapping
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-03-25 21:49:17 +00:00
modmuss50
a068df5d3d
20w13a
2020-03-25 17:49:03 +00:00
liach
4bcc8ac47c
EntityContext -> ShapeContext, EntityContextImpl -> EntityShapeContext ( #1213 )
...
Fixes #908 .
This context is exclusively used by block's 3 shape checking methods.
For its usage outside of blocks, it is used to be eventually passed to call one of the shape checking methods (as in CollisionView#canPlace or RayTraceContext)
Signed-off-by: liach <liach@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-24 22:54:23 +00:00
liach
0a63e67d08
Clarify Minecart sounds, fixes #918 ( #1211 )
...
* Clarify Minecart sounds, fixes #918
Signed-off-by: liach <liach@users.noreply.github.com>
* Update mappings/net/minecraft/client/sound/MinecartInsideSoundInstance.mapping
Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>
Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-03-24 22:53:56 +00:00
joaoh1
52012b1aa6
Fix PositionedSoundInstance's swapped param. names ( #1220 )
2020-03-24 22:53:30 +00:00
i509VCB
0ac0160c5a
Javadoc to describe the block/fluid state properties Minecraft provides ( #1214 )
...
* Javadoc for properties
* Update mappings/net/minecraft/state/property/Properties.mapping
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
* Update mappings/net/minecraft/state/property/Properties.mapping
Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>
* Update mappings/net/minecraft/state/property/Properties.mapping
Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>
* Update mappings/net/minecraft/state/property/Properties.mapping
Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>
* Update mappings/net/minecraft/state/property/Properties.mapping
Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>
* Update mappings/net/minecraft/state/property/Properties.mapping
Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>
* Update mappings/net/minecraft/state/property/Properties.mapping
Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>
* Update mappings/net/minecraft/state/property/Properties.mapping
Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-03-22 23:31:14 +00:00
liach
84c59b348d
Fully map out block state model generator ( #1208 )
...
* Fully map out block state model generator
Now eliminated all unmapped classes! 🎉
Signed-off-by: liach <liach@users.noreply.github.com>
* The block is cocoa
* Model map fixes
* derivative -> texture/model pool
Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-20 22:16:59 +00:00
Sollace
0f9c44a541
Mappings relating to code that uses CsvWriter ( #1186 )
...
* Mappings relating to code that uses CsvWriter
* ok
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
* 👌
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
* Update mappings/net/minecraft/server/world/ChunkTicketManager.mapping
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
* directionalLighting -> shade
* Revise param names for createArea
* @Sollace misreads the code again
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-03-20 18:16:55 +00:00
NeunEinser
71c375ca14
@returns -> @return ( #1210 )
2020-03-20 18:16:28 +00:00
liach
9446cccca5
Map reverse portal particle ( #1206 )
...
* Map reverse portal particle
and many other missing fields in particle/factories
Signed-off-by: liach <liach@users.noreply.github.com>
* Update mappings/net/minecraft/client/particle/CurrentDownParticle.mapping
Co-Authored-By: Joseph Burton <burtonjae@hotmail.co.uk>
Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk>
2020-03-19 16:24:35 +00:00
liach
b931f3b1de
Map class 4966 and associated chunk generator stuff ( #1207 )
...
Signed-off-by: liach <liach@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-19 16:24:12 +00:00
liach
e34b5a891e
New sound stuff, fish hook predicate, missed persistent state uuid fix ( #1202 )
...
Signed-off-by: liach <liach@users.noreply.github.com>
Add jd to note this is the mood percentage for biome sound
Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-19 14:50:03 +00:00